import 'package:flutter/material.dart';

class ConstantConfig {
  ///地图准星ID
  // static final GlobalKey mapForesightId = GlobalKey();

  ///准星图片的大小
  // static const double foresightSize = 48;

  ///屏幕大小
  static late final Size screenSize;

  static int numSize = 2;

  ///像素比例
  static late final double devicePixelRatio;

  ///屏幕方向 true 为竖屏，false 为横屏
  static late final bool screenOrientation;

  //默认appbar高度
  static const double appBarHeightDefalut = 60;
  //布局内容间距
  static const double appContentMargin = 30;
  //布局内容间距
  static const double appContentMargin_2 = 40;
  //app文字大小定义
  static const double appDefaultTextSizeMax = 96;
  static const double appDefaultTextSize1h = 18;
  static const double appDefaultTextSize2h = 15;
  static const double appDefaultTextSize3h = 12;

  //app默认间距
  static const double appDefaultMargin = 10.0;
}
